package com.inossem.warehousestorage_inossem.bean.allocation;

import com.inossem.warehousestorage_inossem.bean.common.BeanNew;

import java.util.List;

/**
 * TODO
 *
 * @author 詹建宇
 * @time on 2018/4/7 13:11
 * @email jianyu.zhan@inossem.com
 */
public class AllocationGetSNsByPackageBean extends BeanNew {

    /**
     * body : {"type":"1","package_id":"4","package_code":"1111","stock_id":"604","position_code":"01-0575","wh_id":"","area_id":"","position_id":"","sn_list":[{"sn_id":"4","sn_code":"1004"}]}
     */

    private SNBodyBean body;

    public SNBodyBean getBody() {
        return body;
    }

    public void setBody(SNBodyBean body) {
        this.body = body;
    }

    public static class SNBodyBean {
        /**
         * type : 1
         * package_id : 4
         * package_code : 1111
         * stock_id : 604
         * position_code : 01-0575
         * wh_id :
         * area_id :
         * position_id :
         * sn_list : [{"sn_id":"4","sn_code":"1004"}]
         */

        private String type;
        private String package_id;
        private String package_code;
        private String stock_id;
        private String position_code;
        private String wh_id;
        private String area_id;
        private String position_id;
        private List<SnListBean> sn_list;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getPackage_id() {
            return package_id;
        }

        public void setPackage_id(String package_id) {
            this.package_id = package_id;
        }

        public String getPackage_code() {
            return package_code;
        }

        public void setPackage_code(String package_code) {
            this.package_code = package_code;
        }

        public String getStock_id() {
            return stock_id;
        }

        public void setStock_id(String stock_id) {
            this.stock_id = stock_id;
        }

        public String getPosition_code() {
            return position_code;
        }

        public void setPosition_code(String position_code) {
            this.position_code = position_code;
        }

        public String getWh_id() {
            return wh_id;
        }

        public void setWh_id(String wh_id) {
            this.wh_id = wh_id;
        }

        public String getArea_id() {
            return area_id;
        }

        public void setArea_id(String area_id) {
            this.area_id = area_id;
        }

        public String getPosition_id() {
            return position_id;
        }

        public void setPosition_id(String position_id) {
            this.position_id = position_id;
        }

        public List<SnListBean> getSn_list() {
            return sn_list;
        }

        public void setSn_list(List<SnListBean> sn_list) {
            this.sn_list = sn_list;
        }

        public static class SnListBean {
            /**
             * sn_id : 4
             * sn_code : 1004
             */

            private String sn_id;
            private String sn_code;

            public String getSn_id() {
                return sn_id;
            }

            public void setSn_id(String sn_id) {
                this.sn_id = sn_id;
            }

            public String getSn_code() {
                return sn_code;
            }

            public void setSn_code(String sn_code) {
                this.sn_code = sn_code;
            }
        }
    }
}
